# Contributor: Dmitry Zakharchenko <dmitz@disroot.org>
# Maintainer: Dmitry Zakharchenko <dmitz@disroot.org>
pkgname=py3-cjkwrap
_pkgname=cjkwrap
pkgver=2.2
pkgrel=0
pkgdesc="Library for wrapping and filling UTF-8 CJK text"
url="https://gitlab.com/fgallaire/cjkwrap"
arch="noarch"
license="LGPL-3.0-or-later"
depends="python3"
makedepends="py3-setuptools"
options="!check" # no test suite
source="https://gitlab.com/fgallaire/cjkwrap/-/archive/v$pkgver/cjkwrap-v$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-v$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
9f744c672d5b045aa3bd80c9f13817706d459ffdbd4478a25c528a7fd85354934d938023eeaf14cfcca12f49654612f344c0f659305c0c493a664c9a684579e1  cjkwrap-v2.2.tar.gz
"
